package p.ithorns.framework.api;

import org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

/**
 * ApiVersionAutoConfiguration
 *
 * @author Ht.L
 * @date 2024-03-08 15:53
 * @since 1.0.0
 */
@Configuration
public class ApiVerAutoConfiguration implements WebMvcRegistrations {

    @Override
    public RequestMappingHandlerMapping getRequestMappingHandlerMapping() {
        return new ApiHandlerMapping();
    }

}